import { formRules } from '@/utils/valid/formRules'

export const rules = {
  companyId: formRules.set('请选择公司', 'change'),
  areaId: formRules.set('请选择区域', 'change'),
  routeId: formRules.set('请选择线路', 'change'),
  positionId: formRules.set('请选择点位', 'change'),
  machineType: formRules.set('请选择设备类型', 'change'),
  serviceContracts: formRules.set('请选择维修负责人', 'change'),
  machineName: formRules.maxStr,
  machineModel: formRules.maxStr,
  threshold: formRules.set('请输入'),
  positionAddr: formRules.set('请选择投放地点', 'change'),
  operationTime: formRules.set('请选择设备投放时间', 'change'),
  payment: formRules.set('请选择支付方式', 'change')
}
